﻿using System;
using System.Collections.Generic;
using System.Text;
using ATSModel;
using ATSIDAL;
using ATSModel.T_ReportInfo;

namespace ATSBLL
{
    public class Report_PIMData : BaseService<PIMReportInfo>
    {
        private static readonly IPIMReport dal = DALFactory.DataAccess.CreatPIMReport();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<PIMReportInfo> GetPIMData()
        {
            return dal.GetPIMData();
        }

        public IList<PIMReportInfo> GetPIMDataByDate(DateTime StartDate, DateTime EndDate)
        {
            return dal.GetPIMDataByDate(StartDate, EndDate);
        }

        public IList<PIMReportInfo> GetProductSN(string ProductSN)
        {
            return dal.GetProductSN(ProductSN);
        }

    
    }
}
